﻿@model Weibo.Web.Models.MapModel
<link href="../../Content/map/css/index.css" rel="stylesheet" type="text/css" />
<script type="text/javascript" src="../../Content/map/js/jquery-1.7.1.min.js"></script>
<link rel="stylesheet" type="text/css" href="../../Content/map/css/bmap.css">
<script src="http://maps.google.com/maps?file=api&amp;v=2&amp;sensor=false&amp;key=ABQIAAAA8vfiIcynMro4MFEwP-3JHhRitKerIz7oOsC8fg82ZSYQ2beUixT5jpoJ5l_tdsChj6gIXcWqrdTKew
" type="text/javascript"></script>
<link href="../../MapResource/Css/Map.css" rel="stylesheet" type="text/css" />
<script src="../../MapResource/Script/Map2_Findding.js" type="text/javascript"></script>
<script src="../../MapResource/Script/jquery-1.3.2.min.js" type="text/javascript"></script>
<script src="../../MapResource/Script/labeledmarker_packed.js" type="text/javascript"></script>
<script src="../../MapResource/Script/jQuery.FillOptions.js" type="text/javascript"></script>
<script src="../../MapResource/Script/jQuery.CascadingSelect.js" type="text/javascript"></script>
<script src="../../Scripts/JsonConvert.js" type="text/javascript"></script>
<script language="javascript" type="text/javascript">

    $(function () {
        logadMap("Sale");
        // $(window).unload(function () { GUnload(); });
    });
    function MarkeLable(obj) {
        CloseContainer();
        var type = $(obj).parent().attr("attr");
        var id = $(obj).attr("ID");
        $("#hidSearchType").val(type);
        $("#hidID").val(id);
        logadMap("Sale");
    }
</script>
<div class="nav">
    <div class="clearfix">
        <div class="navleft">
            <a href="/" target="_blank">首页</a> | <a href="/School" target="_blank">我的班级</a>
            | <a href="/Profile" target="_blank">我的微博</a>
        </div>
    </div>
</div>
@*<div class="top">
    <div class="clearfix">
        <div id="logo">
            <a>
                <img alt="南京地产-365地产家居网" src="./南京地图找房_南京租房_365地产家居网_files/logo.jpg"></a></div>
        <div class="search">
            <div class="search_tab">
                <a id="tab1" class="" href="http://sell.house365.com/map/index.php?type=sell" style="border-top-width: 1px;
                    border-top-style: solid; border-top-color: rgb(224, 224, 224); border-left-width: 1px;
                    border-left-style: solid; border-left-color: rgb(224, 224, 224);">搜地址</a><a id="tab2"
                        href="http://sell.house365.com/map/index.php?type=rent" style="border-top-style: none;
                        border-right-style: none;" class="on">搜足迹</a></div>
            <div class="search_cont">
                <div id="cont">
                    <input class="search_text autocomplete_text" type="text" value="请输入地址或同学姓名" onfocus="if(value==&#39;请输入地址或同学姓名&#39;){value=&#39;&#39;}"
                        onblur="if(value==&#39;&#39;){value=&#39;请输入地址或同学姓名}" id="blockname_top" name="blockname"
                        autocomplete="off" autocomplete_id="no_0">
                    <ol id="no_0a_autocomplete_list" style="position: absolute; top: -9999px; display: none;"
                        class="autocomplete_list">
                    </ol>
                    <ol id="no_0b_autocomplete_list" style="position: absolute; left: -9999; top: -9999px"
                        class="autocomplete_list">
                    </ol>
                    <div id="autocomplete_x1" style="position: absolute; left: -999px; top: -999px; overflow: scroll;
                        width: 40px" class="autocomplete_text_busy">
                        <div style="width: 80px">
                        </div>
                    </div>
                    <input class="search_btn" type="submit">
                </div>
            </div>
        </div>
    </div>
</div>*@
<div class="content clearfix" style="width: 1420px; height: 550px;">
    <div class="maparea" style="float: left;">
        <div id="map_canvas" class="maparea_L" style="border-top: 1px solid black;">
        </div>
    </div>
    <div class="cont_right" id="mapright">
        <ul class="right_list">
            <li id="priceId">
                <h3>
                    分组</h3>
                <dl class="clearfix">
                    @*  <dt attr="1"><a href="#" classid="0" onclick="MarkeLable(this)">任意</a></dt>*@
                    @{
                        if (Model.allGroups != null)
                        {
                            for (int i = 0; i < Model.allGroups.Count; i++)
                            {
                        <dt attr="1"><a href="#" id="@Model.allGroups[i].ID" onclick="MarkeLable(this)">@Model.allGroups[i].Name</a>
                        </dt>
						 
                            }
                        }
                    }
                </dl>
            </li>
        </ul>
        <ul class="right_list">
            <li id="buildAreaId">
                <h3>
                    班级</h3>
                <dl class="clearfix">
                    @*        <dt attr="2"><a href="#" classid="0" onclick="MarkeLable(this)">任意</a></dt>*@
                    @{
                        if (Model.EducationList != null)
                        {
                            for (int i = 0; i < Model.EducationList.Count; i++)
                            {
                        <dt attr="2"><a href="#"  ID="@Model.EducationList[i].SchoolClassID" onclick="MarkeLable(this)" title="@Model.EducationList[i].SchoolName@Model.EducationList[i].schoolCollege@Model.EducationList[i].SchoolClassName">@Model.EducationList[i].SchoolClassName</a>
                        </dt>
						 
                            }
                        }
                    }
                </dl>
            </li>
        </ul>
    </div>
</div>
<div class="styleContainer" id="HouseContainer">
    <div id="dvHouseWindPanel" style="display: block; top: 200px; left: 188px;" class="map2_propwind">
        <h2>
            <img src='' class='picture' id="userPhoto">
            <a href="" id="UserName" class="aUserName" target="_blank"></a><span href="" id="aAddr"
                class="aAddr" target="_blank"></span>
        </h2>
        <div class="map2_propwind_numbinfo">
            <span class="prop_num">
                <label id="lblDesc">
                </label>
            </span><a href="/" class="map2_propwind_listlink" target="_blank" id="map2_propwind_listlink">查看更多</a>
        </div>
        <div onclick="CloseContainer()" class="map2_propwind_close">
        </div>
        <span class="spanRecentTitle">最新动态:</span>
        <ol id="olContent">
            <li><a title="发一个帖子，测试一下平均给分功能，哈哈" target="_blank" href="/topics/390449883">1.发一个帖子，测试一下平均给分功...</a>
            </li>
            <li><a title="Asp.net大内存使用，内存回收导致无响应的问题" target="_blank" href="/topics/390359074">2.Asp.net大内存使用，内存回收导...</a>
            </li>
            <li><a title="开源我做的几个C#工具" target="_blank" href="/topics/390235927">3.开源我做的几个C#工具</a>
            </li>
        </ol>
    </div>
</div>
<input type="hidden" id="hidSearchType" value="1" />
<input type="hidden" id="hidID" value="0" />